package top.soulblack.purchasesale.model;

import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

/**
 * @Author: 陈俊宇
 * @Description:客户管理实体类
 * @Date: Create in 13:02 2019/8/30
 */

@Data
public class Customer {
    /**
     * 客户主键id
     */
    private Integer id;

    /**
     *客户名称
     */
    private String name;

    /**
     *客户昵称
     */
    private String nickname;

    /**
     *客户状态
     */
    private boolean status ;

    /**
     *客户电话
     */
    private String phone ;

    /**
     *客户手机
     */
    private String mobilephone ;

    /**
     *客户描述
     */
    private String remark;

    /**
     *排序标识
     */
    private Integer sort;

    /**
     *客户邮箱
     */
    private String mail;

    /**
     *客户联系人
     */
    private String contacts;

    /**
     *客户传真
     */
    private String fax;

    /**
     *客户银行账户
     */
    private String bankaccount;

    /**
     *客户银行账号
     */
    private String banknumber;

    /**
     *客户开户行
     */
    private String openbank;

    /**
     *客户默认折扣
     */
    private String discount;

    /**
     *客户地址
     */
    private String address;

    /**
     *客户会员卡卡号
     */
    private String membershipcard;

    /**
     *客户类型
     */
    private String type;

    /**
     *客户欠款
     */
    private Integer debt;

    /**
     *客户积分
     */
    private Integer integral;

    /**
     *客户性别
     */
    private boolean sex;

    /**
     *客户生日
     */
    private Date birthday;

    /**
     *客户建立时间
     */
    private Date settime;

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", status=" + status +
                ", phone='" + phone + '\'' +
                ", mobilephone='" + mobilephone + '\'' +
                ", remark='" + remark + '\'' +
                ", sort=" + sort +
                ", mail='" + mail + '\'' +
                ", contacts='" + contacts + '\'' +
                ", fax='" + fax + '\'' +
                ", bankaccount='" + bankaccount + '\'' +
                ", banknumber='" + banknumber + '\'' +
                ", openbank='" + openbank + '\'' +
                ", discount='" + discount + '\'' +
                ", address='" + address + '\'' +
                ", membershipcard='" + membershipcard + '\'' +
                ", type='" + type + '\'' +
                ", debt=" + debt +
                ", integral=" + integral +
                ", sex=" + sex +
                ", birthday=" + birthday +
                ", settime=" + settime +
                '}';
    }
}
